<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
		<meta name="generator" content="JsDoc Toolkit" />
		
		<title>JsDoc Reference - SztakipediaTB</title>

		<style type="text/css">
			/* default.css */
body
{
	font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
	width: 800px;
}

#header
{
	clear: both;
	background-color: white;
	padding: 8px;
	border-bottom: 8px solid #ccc;
	display: block;
	width: 100%;
	line-height: 1.5em;
}

#banner
{
	margin-bottom: 1em;
}

h1
{
	font-size: 150%;
	font-weight: bold;
	padding: 0;
	margin: 1em 0 0 .3em;
}

hr
{
	border: none 0;
	border-top: 1px solid #7F8FB1;
	height: 1px;
}

pre.code
{
	display: block;
	padding: 8px;
	border: 1px dashed #ccc;
}

#index
{
	margin-top: 24px;
	float: left;
	width: 160px;
	position: absolute;
	left: 8px;
	background-color: #F3F3F3;
	padding: 8px;
}

#content
{
	margin-left: 190px;
	width: 600px;
}

.classList
{
	list-style-type: none;
	padding: 0;
	margin: 0 0 0 8px;
	font-family: arial, sans-serif;
	font-size: 1em;
	overflow: auto;
}

.classList li
{
	padding: 0;
	margin: 0 0 8px 0;
}

.summaryTable { width: 100%; }

h1.classTitle
{
	font-size:170%;
	line-height:130%;
}

h2 { font-size: 110%; }
caption, div.sectionTitle
{
	background-color: #7F8FB1;
	color: #fff;
	font-size:130%;
	text-align: left;
	padding: 2px 6px 2px 6px;
	border: 1px #7F8FB1 solid;
}

div.sectionTitle { margin-bottom: 8px; }
.summaryTable thead { display: none; }

.summaryTable td
{
	vertical-align: top;
	padding: 4px;
	border-bottom: 1px #7F8FB1 solid;
	border-right: 1px #7F8FB1 solid;
}

/*col#summaryAttributes {}*/
.summaryTable td.attributes
{
	border-left: 1px #7F8FB1 solid;
	width: 140px;
	text-align: right;
}

td.attributes, .fixedFont
{
	line-height: 15px;
	color: #002EBE;
	font-family: "Courier New",Courier,monospace;
	font-size: 13px;
}

.summaryTable td.nameDescription
{
	text-align: left;
	font-size: 13px;
	line-height: 15px;
}

.summaryTable td.nameDescription, .description
{
	line-height: 15px;
	padding: 4px;
	padding-left: 4px;
}

.summaryTable { margin-bottom: 8px; }

ul.inheritsList
{
	list-style: square;
	margin-left: 20px;
	padding-left: 0;
}

.detailList {
	margin-left: 20px; 
	line-height: 15px;
}
.detailList dt { margin-left: 20px; }

.detailList .heading
{
	font-weight: bold;
	padding-bottom: 6px;
	margin-left: 0;
}

.light, td.attributes, .light a:link, .light a:visited
{
	color: #777;
	font-style: italic;
}

.fineprint
{
	text-align: right;
	font-size: 10px;
}

		</style>
	</head>

	<body>
<!-- ============================== header ================================= -->	
		<!-- begin static/header.html -->
		<div id="header">
	<div id="banner">
		<a href="http://pedia.sztaki.hu" target="_blank" title="Sztakipedia project"><img src="http://pedia.sztaki.hu/img/sztakilogo.png" alt="Sztakipedia project banner"/></a>
	</div>
	<span style="font-size: 130%;"><a href="http://code.google.com/p/sztakipedia-toolbar/" target="_blank">Sztakipedia toolbar</a> source code documentation</span><br />
	Part of <a href="http://pedia.sztaki.hu/" target="_blank">Sztakipedia project</a> at
	<a href="http://sztaki.hu/" target="_blank">MTA SZTAKI</a>
</div>

		<!-- end static/header.html -->

<!-- ============================== classes index ============================ -->
		<div id="index">
			<!-- begin publish.classesIndex -->
			<div align="center"><a href="../index.html">Class Index</a>
| <a href="../files.html">File Index</a></div>
<hr />
<h2>Classes</h2>
<ul class="classList">
	
	<li><i><a href="../symbols/_global_.html">_global_</a></i></li>
	
	<li><a href="../symbols/SztakipediaClient.html">SztakipediaClient</a></li>
	
	<li><a href="../symbols/SztakipediaTB.html">SztakipediaTB</a></li>
	
	<li><a href="../symbols/sztakipediaTemplate.html">sztakipediaTemplate</a></li>
	
</ul>
<hr />
			<!-- end publish.classesIndex -->
		</div>
		
		<div id="content">
<!-- ============================== class title ============================ -->
			<h1 class="classTitle">
				
				Namespace SztakipediaTB
			</h1>

<!-- ============================== class summary ========================== -->			
			<p class="description">
				
				
			
				Provides a toolbar for WikiEditor with tools to easily insert links, categories, references, etc.
				
				
					<br /><i>Defined in: </i> <a href="../symbols/src/src_SztakipediaToolbar.js.html">SztakipediaToolbar.js</a>.
				
			</p>

<!-- ============================== constructor summary ==================== -->			
			
			<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class SztakipediaTB.">
				<caption>Namespace Summary</caption>
				<thead>
					<tr>
						<th scope="col">Constructor Attributes</th>
						<th scope="col">Constructor Name and Description</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td class="attributes">&nbsp;</td>
						<td class="nameDescription" >
							<div class="fixedFont">
								<b><a href="../symbols/SztakipediaTB.html#constructor">SztakipediaTB</a></b>
							</div>
							<div class="description"></div>
						</td>
					</tr>
				</tbody>
			</table>
			

<!-- ============================== properties summary ===================== -->
			
				
				
				<table class="summaryTable" cellspacing="0" summary="A summary of the fields documented in the class SztakipediaTB.">
					<caption>Field Summary</caption>
					<thead>
						<tr>
							<th scope="col">Field Attributes</th>
							<th scope="col">Field Name and Description</th>
						</tr>
					</thead>
					<tbody>
					
						<tr>
							<td class="attributes">&lt;private&gt; &lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.DefaultOptions">DefaultOptions</a></b>
								</div>
								<div class="description">Global default options that are overidden by  <a href="../symbols/SztakipediaTB.html#.Options">SztakipediaTB.Options</a> and by <a href="../symbols/SztakipediaTB.html#.UserOptions">SztakipediaTB.UserOptions</a>.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.Dialogs">Dialogs</a></b>
								</div>
								<div class="description">All dialogs.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.Options">Options</a></b>
								</div>
								<div class="description">Site-wide options that override <a href="../symbols/SztakipediaTB.html#.DefaultOptions">SztakipediaTB.DefaultOptions</a>, and are overidden by <a href="../symbols/SztakipediaTB.html#.UserOptions">SztakipediaTB.UserOptions</a>.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.Templates">Templates</a></b>
								</div>
								<div class="description">All <a href="../symbols/sztakipediaTemplate.html">sztakipediaTemplate</a> objects.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.UserOptions">UserOptions</a></b>
								</div>
								<div class="description">User options that override <a href="../symbols/SztakipediaTB.html#.DefaultOptions">SztakipediaTB.DefaultOptions</a> and <a href="../symbols/SztakipediaTB.html#.Options">SztakipediaTB.Options</a>.</div>
							</td>
						</tr>
					
					</tbody>
				</table>
				
				
				
			

<!-- ============================== methods summary ======================== -->
			
				
				
				<table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class SztakipediaTB.">
					<caption>Method Summary</caption>
					<thead>
						<tr>
							<th scope="col">Method Attributes</th>
							<th scope="col">Method Name and Description</th>
						</tr>
					</thead>
					<tbody>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.addTemplateFromXhtml">addTemplateFromXhtml</a></b>(template)
								</div>
								<div class="description">Creates a RefToolbar-style template descriptor from a Sztakipedia XHTML DOM template element.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.escapeRegex">escapeRegex</a></b>(text)
								</div>
								<div class="description">Escape regular expression special characters to be used in regexp as literal characters.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.escStr">escStr</a></b>(s)
								</div>
								<div class="description">Escape spaces and quotes for use in HTML ids or CSS classes</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;private&gt; &lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.expandtemplates">expandtemplates</a></b>(text, callback)
								</div>
								<div class="description">Use the API to expand templates on some text</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.fillNrefPreview">fillNrefPreview</a></b>(parsed)
								</div>
								<div class="description">Callback function for parsed preview</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.fillTemplatePreview">fillTemplatePreview</a></b>(text)
								</div>
								<div class="description">Callback function for parsed preview.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.getMsgPlaceholder">getMsgPlaceholder</a></b>(msgid)
								</div>
								<div class="description">Return a localized string for the key if present, or the key itself surrounded by braces if a localized string is missing.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.getOpenTemplate">getOpenTemplate</a></b>()
								</div>
								<div class="description">Determine which template form is open, and get the template object for it.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.getOption">getOption</a></b>(opt)
								</div>
								<div class="description">Get an option - user settings override site-wide which override defaults.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.getPageText">getPageText</a></b>(callback)
								</div>
								<div class="description">Function to get the page text</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.getQuotedString">getQuotedString</a></b>(s)
								</div>
								<div class="description">Returns a string quoted as necessary for name/group attributes</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;private&gt; &lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.getRef">getRef</a></b>(inneronly, forinsert)
								</div>
								<div class="description">Actually assemble a ref from user input</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.getTarget">getTarget</a></b>()
								</div>
								<div class="description">The textarea to attach to.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;private&gt; &lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.handleBookFormSubmit">handleBookFormSubmit</a></b>()
								</div>
								<div class="description">Search for books based on the search form.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;private&gt; &lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.init">init</a></b>()
								</div>
								<div class="description">Initialize the toolbar.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.initAutofill">initAutofill</a></b>()
								</div>
								<div class="description">Autofill a template from an ID (ISBN, DOI, PMID)</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;private&gt; &lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.initBook">initBook</a></b>()
								</div>
								<div class="description">Initialize the book reference insertion tool.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;private&gt; &lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.initCategory">initCategory</a></b>()
								</div>
								<div class="description">Initialize the category link insertion tool.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;private&gt; &lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.initInfo">initInfo</a></b>()
								</div>
								<div class="description">Initialize the toolbar for debugging tools.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;private&gt; &lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.initInfobox">initInfobox</a></b>()
								</div>
								<div class="description">Initialize the infobox insertion tool.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;private&gt; &lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.initLink">initLink</a></b>()
								</div>
								<div class="description">Initialize the internal link insertion tool.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;private&gt; &lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.loadBookSuggestions">loadBookSuggestions</a></b>()
								</div>
								<div class="description">Retrieve book suggestions.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;private&gt; &lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.loadCategorySuggestions">loadCategorySuggestions</a></b>()
								</div>
								<div class="description">Retrieve category suggestions.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;private&gt; &lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.loadInfoboxSuggestions">loadInfoboxSuggestions</a></b>()
								</div>
								<div class="description">Retrieve infobox suggestions.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;private&gt; &lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.loadLinkSuggestions">loadLinkSuggestions</a></b>()
								</div>
								<div class="description">Retrieve internal link suggestions.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.parse">parse</a></b>(text, callback)
								</div>
								<div class="description">Parse some wikitext and hand it off to a callback function.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.parseTemplateFromXhtml">parseTemplateFromXhtml</a></b>(template)
								</div>
								<div class="description">Parse template title and parameters from a Sztakipedia XHTML DOM element into an object.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.prevParseClick">prevParseClick</a></b>()
								</div>
								<div class="description">Click handler for template parsed preview</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.replaceRange">replaceRange</a></b>(start, end, replacement)
								</div>
								<div class="description">Replace a text range (e.g.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;private&gt; &lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.resetForm">resetForm</a></b>()
								</div>
								<div class="description">Resets form fields and previews.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.scrollTo">scrollTo</a></b>(scrollTo, container, speed)
								</div>
								<div class="description">Scroll to specific item.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.searchByInsertionStragtegy">searchByInsertionStragtegy</a></b>(insertionstrategies, text)
								</div>
								<div class="description">Find the text span to be replaced in the target text field given a set of insertion strategies.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.selectRange">selectRange</a></b>(start, end, field)
								</div>
								<div class="description">Select given character range in the text field.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.setupBookSuggestions">setupBookSuggestions</a></b>(dialogs)
								</div>
								<div class="description">Produce HTML for the book suggestions dialog.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.setupCategorySuggestions">setupCategorySuggestions</a></b>(dialogs)
								</div>
								<div class="description">Produce HTML for the category suggestions dialog.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.setupDialogs">setupDialogs</a></b>(dialogs, sname, elementId)
								</div>
								<div class="description">Create HTML corresponding to a set of generic dialogs.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.setupInfo">setupInfo</a></b>()
								</div>
								<div class="description">Function called to load client info
Until the contents are loaded, its just a "Loading" placeholder for each section</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.setupInfoboxSuggestions">setupInfoboxSuggestions</a></b>(dialogs)
								</div>
								<div class="description">Produce HTML for the infobox suggestions dialog.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.setupLinkSuggestions">setupLinkSuggestions</a></b>(dialogs)
								</div>
								<div class="description">Produce HTML for the link suggestions dialog.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.showHideExtra">showHideExtra</a></b>()
								</div>
								<div class="description">Show/hide the extra fields in the dialog box</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.toDialog">toDialog</a></b>(tem)
								</div>
								<div class="description">Create a WikiEditor dialog from a <a href="../symbols/sztakipediaTemplate.html">sztakipediaTemplate</a> object.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">SztakipediaTB.<b><a href="../symbols/SztakipediaTB.html#.updateRemoteContent">updateRemoteContent</a></b>(callback)
								</div>
								<div class="description">Send the text field contents to the API for analysis.</div>
							</td>
						</tr>
					
					</tbody>
				</table>
				
				
				
			
<!-- ============================== events summary ======================== -->
			

<!-- ============================== constructor details ==================== -->		
			
			<div class="details"><a name="constructor"> </a>
				<div class="sectionTitle">
					Namespace Detail
				</div>
				
				<div class="fixedFont">
						<b>SztakipediaTB</b>
				</div>
				
				<div class="description">
					
					
				</div>
				
				
				
				
					
					
					
					
					
					
						<dl class="detailList">
						<dt class="heading">Requires:</dt>
						
							<dd><a href="../symbols/SztakipediaClient.html">SztakipediaClient</a></dd>
						
							<dd><a href="../symbols/sztakipediaTemplate.html">sztakipediaTemplate</a></dd>
						
							<dd>MediaWiki-UI</dd>
						
							<dd>jQuery</dd>
						
						</dl>
					
					

			</div>
			

<!-- ============================== field details ========================== -->		
			
				<div class="sectionTitle">
					Field Detail
				</div>
				
					<a name=".DefaultOptions"> </a>
					<div class="fixedFont">&lt;private&gt; &lt;static&gt; 
					
					<span class="light">{Object}</span>
					<span class="light">SztakipediaTB.</span><b>DefaultOptions</b>
					
					</div>
					<div class="description">
						Global default options that are overidden by  <a href="../symbols/SztakipediaTB.html#.Options">SztakipediaTB.Options</a> and by <a href="../symbols/SztakipediaTB.html#.UserOptions">SztakipediaTB.UserOptions</a>.
It mainly exist so the script won't break if a new option is added.
						
						
					</div>
					
					

						
						
						
						

					<hr />
				
					<a name=".Dialogs"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Object}</span>
					<span class="light">SztakipediaTB.</span><b>Dialogs</b>
					
					</div>
					<div class="description">
						All dialogs.
						
						
					</div>
					
					

						
						
						
						

					<hr />
				
					<a name=".Options"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Object}</span>
					<span class="light">SztakipediaTB.</span><b>Options</b>
					
					</div>
					<div class="description">
						Site-wide options that override <a href="../symbols/SztakipediaTB.html#.DefaultOptions">SztakipediaTB.DefaultOptions</a>, and are overidden by <a href="../symbols/SztakipediaTB.html#.UserOptions">SztakipediaTB.UserOptions</a>.
						
						
					</div>
					
					

						
						
						
						

					<hr />
				
					<a name=".Templates"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Object}</span>
					<span class="light">SztakipediaTB.</span><b>Templates</b>
					
					</div>
					<div class="description">
						All <a href="../symbols/sztakipediaTemplate.html">sztakipediaTemplate</a> objects.
						
						
					</div>
					
					

						
						
						
						

					<hr />
				
					<a name=".UserOptions"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Object}</span>
					<span class="light">SztakipediaTB.</span><b>UserOptions</b>
					
					</div>
					<div class="description">
						User options that override <a href="../symbols/SztakipediaTB.html#.DefaultOptions">SztakipediaTB.DefaultOptions</a> and <a href="../symbols/SztakipediaTB.html#.Options">SztakipediaTB.Options</a>.
						
						
					</div>
					
					

						
						
						
						

					
				
			

<!-- ============================== method details ========================= -->		
			
				<div class="sectionTitle">
					Method Detail
				</div>
				
					<a name=".addTemplateFromXhtml"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Object}</span>
					<span class="light">SztakipediaTB.</span><b>addTemplateFromXhtml</b>(template)
					
					</div>
					<div class="description">
						Creates a RefToolbar-style template descriptor from a Sztakipedia XHTML DOM template element.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<b>template</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Object}</span> The resulting sztakipediTemplate object.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".escapeRegex"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>escapeRegex</b>(text)
					
					</div>
					<div class="description">
						Escape regular expression special characters to be used in regexp as literal characters.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<b>text</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name=".escStr"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>escStr</b>(s)
					
					</div>
					<div class="description">
						Escape spaces and quotes for use in HTML ids or CSS classes
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<b>s</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name=".expandtemplates"> </a>
					<div class="fixedFont">&lt;private&gt; &lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>expandtemplates</b>(text, callback)
					
					</div>
					<div class="description">
						Use the API to expand templates on some text
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{string}</span> <b>text</b>
									
								</dt>
								<dd>The wikitext fragment to be expanded.</dd>
							
								<dt>
									<span class="light fixedFont">{function(string)}</span> <b>callback</b>
									
								</dt>
								<dd>The function to be called with the resulting HTML.</dd>
							
							</dl>
						
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Requires:</dt>
							
								<dd>MediaWiki-API</dd>
							
							</dl>
						
						

					<hr />
				
					<a name=".fillNrefPreview"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>fillNrefPreview</b>(parsed)
					
					</div>
					<div class="description">
						Callback function for parsed preview
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{string}</span> <b>parsed</b>
									
								</dt>
								<dd>The HTML string.</dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name=".fillTemplatePreview"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>fillTemplatePreview</b>(text)
					
					</div>
					<div class="description">
						Callback function for parsed preview.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{string}</span> <b>text</b>
									
								</dt>
								<dd>The HTML fragment.</dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name=".getMsgPlaceholder"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{string}</span>
					<span class="light">SztakipediaTB.</span><b>getMsgPlaceholder</b>(msgid)
					
					</div>
					<div class="description">
						Return a localized string for the key if present, or the key itself surrounded by braces if a localized string is missing.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{string}</span> <b>msgid</b>
									
								</dt>
								<dd>The message key, e.g. 'sztakipedia-accept'.</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{string}</span> The localized string, or the encapsulated key.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".getOpenTemplate"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>getOpenTemplate</b>()
					
					</div>
					<div class="description">
						Determine which template form is open, and get the template object for it.
						
						
					</div>
					
					
					
						
						
						
						
						
						
						

					<hr />
				
					<a name=".getOption"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{string}</span>
					<span class="light">SztakipediaTB.</span><b>getOption</b>(opt)
					
					</div>
					<div class="description">
						Get an option - user settings override site-wide which override defaults.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{string|undefined}</span> <b>opt</b>
									
								</dt>
								<dd>The name of the option.</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{string}</span> The value of the option.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".getPageText"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>getPageText</b>(callback)
					
					</div>
					<div class="description">
						Function to get the page text
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{function(string)}</span> <b>callback</b>
									
								</dt>
								<dd>The function to be called with the resulting HTML.</dd>
							
							</dl>
						
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Requires:</dt>
							
								<dd>MediaWiki-API</dd>
							
							</dl>
						
						

					<hr />
				
					<a name=".getQuotedString"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>getQuotedString</b>(s)
					
					</div>
					<div class="description">
						Returns a string quoted as necessary for name/group attributes
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<b>s</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name=".getRef"> </a>
					<div class="fixedFont">&lt;private&gt; &lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>getRef</b>(inneronly, forinsert)
					
					</div>
					<div class="description">
						Actually assemble a ref from user input
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{boolean}</span> <b>inneronly</b>
									
								</dt>
								<dd>Omit &lt;ref&gt; tags.</dd>
							
								<dt>
									<span class="light fixedFont">{boolean}</span> <b>forinsert</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name=".getTarget"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{jQuery|wikiEditor}</span>
					<span class="light">SztakipediaTB.</span><b>getTarget</b>()
					
					</div>
					<div class="description">
						The textarea to attach to.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{jQuery|wikiEditor}</span> The jQuery DOM element of the main text input field.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".handleBookFormSubmit"> </a>
					<div class="fixedFont">&lt;private&gt; &lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>handleBookFormSubmit</b>()
					
					</div>
					<div class="description">
						Search for books based on the search form.
						
						
					</div>
					
					
					
						
						
						
						
						
						
						

					<hr />
				
					<a name=".init"> </a>
					<div class="fixedFont">&lt;private&gt; &lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>init</b>()
					
					</div>
					<div class="description">
						Initialize the toolbar. Adds a new toolbar section with tools, creates precomputable dialog windows.
Shall be called only once.
						
						
					</div>
					
					
					
						
						
						
						
						
						
						

					<hr />
				
					<a name=".initAutofill"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>initAutofill</b>()
					
					</div>
					<div class="description">
						Autofill a template from an ID (ISBN, DOI, PMID)
						
						
					</div>
					
					
					
						
						
						
						
						
						
						

					<hr />
				
					<a name=".initBook"> </a>
					<div class="fixedFont">&lt;private&gt; &lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>initBook</b>()
					
					</div>
					<div class="description">
						Initialize the book reference insertion tool.
						
						
					</div>
					
					
					
						
						
						
						
						
						
						

					<hr />
				
					<a name=".initCategory"> </a>
					<div class="fixedFont">&lt;private&gt; &lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>initCategory</b>()
					
					</div>
					<div class="description">
						Initialize the category link insertion tool.
						
						
					</div>
					
					
					
						
						
						
						
						
						
						

					<hr />
				
					<a name=".initInfo"> </a>
					<div class="fixedFont">&lt;private&gt; &lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>initInfo</b>()
					
					</div>
					<div class="description">
						Initialize the toolbar for debugging tools.
						
						
					</div>
					
					
					
						
						
						
						
						
						
						

					<hr />
				
					<a name=".initInfobox"> </a>
					<div class="fixedFont">&lt;private&gt; &lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>initInfobox</b>()
					
					</div>
					<div class="description">
						Initialize the infobox insertion tool.
						
						
					</div>
					
					
					
						
						
						
						
						
						
						

					<hr />
				
					<a name=".initLink"> </a>
					<div class="fixedFont">&lt;private&gt; &lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>initLink</b>()
					
					</div>
					<div class="description">
						Initialize the internal link insertion tool.
						
						
					</div>
					
					
					
						
						
						
						
						
						
						

					<hr />
				
					<a name=".loadBookSuggestions"> </a>
					<div class="fixedFont">&lt;private&gt; &lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>loadBookSuggestions</b>()
					
					</div>
					<div class="description">
						Retrieve book suggestions. Also adds a book search form to the dialog window.
						
						
					</div>
					
					
					
						
						
						
						
						
						
						

					<hr />
				
					<a name=".loadCategorySuggestions"> </a>
					<div class="fixedFont">&lt;private&gt; &lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>loadCategorySuggestions</b>()
					
					</div>
					<div class="description">
						Retrieve category suggestions.
						
						
					</div>
					
					
					
						
						
						
						
						
						
						

					<hr />
				
					<a name=".loadInfoboxSuggestions"> </a>
					<div class="fixedFont">&lt;private&gt; &lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>loadInfoboxSuggestions</b>()
					
					</div>
					<div class="description">
						Retrieve infobox suggestions.
						
						
					</div>
					
					
					
						
						
						
						
						
						
						

					<hr />
				
					<a name=".loadLinkSuggestions"> </a>
					<div class="fixedFont">&lt;private&gt; &lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>loadLinkSuggestions</b>()
					
					</div>
					<div class="description">
						Retrieve internal link suggestions.
						
						
					</div>
					
					
					
						
						
						
						
						
						
						

					<hr />
				
					<a name=".parse"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>parse</b>(text, callback)
					
					</div>
					<div class="description">
						Parse some wikitext and hand it off to a callback function.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{string}</span> <b>text</b>
									
								</dt>
								<dd>The wikitext fragment to be parsed.</dd>
							
								<dt>
									<span class="light fixedFont">{function(string)}</span> <b>callback</b>
									
								</dt>
								<dd>The function to be called with the resulting HTML.</dd>
							
							</dl>
						
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Requires:</dt>
							
								<dd>MediaWiki-API</dd>
							
							</dl>
						
						

					<hr />
				
					<a name=".parseTemplateFromXhtml"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>parseTemplateFromXhtml</b>(template)
					
					</div>
					<div class="description">
						Parse template title and parameters from a Sztakipedia XHTML DOM element into an object.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{jQuery}</span> <b>template</b>
									
								</dt>
								<dd>The DOM element corresponding to the template.</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd>Object</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".prevParseClick"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>prevParseClick</b>()
					
					</div>
					<div class="description">
						Click handler for template parsed preview
						
						
					</div>
					
					
					
						
						
						
						
						
						
						

					<hr />
				
					<a name=".replaceRange"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>replaceRange</b>(start, end, replacement)
					
					</div>
					<div class="description">
						Replace a text range (e.g., after accepting a suggestion).
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<b>start</b>
									
								</dt>
								<dd></dd>
							
								<dt>
									<b>end</b>
									
								</dt>
								<dd></dd>
							
								<dt>
									<b>replacement</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name=".resetForm"> </a>
					<div class="fixedFont">&lt;private&gt; &lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>resetForm</b>()
					
					</div>
					<div class="description">
						Resets form fields and previews.
						
						
					</div>
					
					
					
						
						
						
						
						
						
						

					<hr />
				
					<a name=".scrollTo"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>scrollTo</b>(scrollTo, container, speed)
					
					</div>
					<div class="description">
						Scroll to specific item.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{jQuery}</span> <b>scrollTo</b>
									
								</dt>
								<dd>The element to show.</dd>
							
								<dt>
									<span class="light fixedFont">{jQuery}</span> <b>container</b>
									
								</dt>
								<dd>The ancestor element having a scrollbar.</dd>
							
								<dt>
									<span class="light fixedFont">{string}</span> <b>speed</b>
									<i>Optional</i>
								</dt>
								<dd>Animation speed 'fast' or 'slow'. Omit for no animation.</dd>
							
							</dl>
						
						
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">See:</dt>
							
								<dd>http://stackoverflow.com/questions/2905867/how-to-scroll-to-specific-item-using-jquery</dd>
							
							</dl>
						

					<hr />
				
					<a name=".searchByInsertionStragtegy"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>searchByInsertionStragtegy</b>(insertionstrategies, text)
					
					</div>
					<div class="description">
						Find the text span to be replaced in the target text field given a set of insertion strategies.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>insertionstrategies</b>
									
								</dt>
								<dd></dd>
							
								<dt>
									<span class="light fixedFont">{string}</span> <b>text</b>
									<i>Optional</i>
								</dt>
								<dd>the string to search, defaults to the textarea contents</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd>Array A two-element array containing the start and end character positions.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".selectRange"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>selectRange</b>(start, end, field)
					
					</div>
					<div class="description">
						Select given character range in the text field.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{number}</span> <b>start</b>
									
								</dt>
								<dd>The first character position (inclusive).</dd>
							
								<dt>
									<span class="light fixedFont">{number}</span> <b>end</b>
									
								</dt>
								<dd>The last character position (exclusive).</dd>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>field</b>
									<i>Optional</i>
								</dt>
								<dd>The textarea to select text in.</dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name=".setupBookSuggestions"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>setupBookSuggestions</b>(dialogs)
					
					</div>
					<div class="description">
						Produce HTML for the book suggestions dialog.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>dialogs</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name=".setupCategorySuggestions"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>setupCategorySuggestions</b>(dialogs)
					
					</div>
					<div class="description">
						Produce HTML for the category suggestions dialog.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>dialogs</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name=".setupDialogs"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>setupDialogs</b>(dialogs, sname, elementId)
					
					</div>
					<div class="description">
						Create HTML corresponding to a set of generic dialogs.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>dialogs</b>
									
								</dt>
								<dd>The list of dialogs.</dd>
							
								<dt>
									<span class="light fixedFont">{string}</span> <b>sname</b>
									
								</dt>
								<dd>The template's short name.</dd>
							
								<dt>
									<span class="light fixedFont">{string}</span> <b>elementId</b>
									
								</dt>
								<dd>The DOM element's id attribute to place the HTML in, and to register event listeners for.</dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name=".setupInfo"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>setupInfo</b>()
					
					</div>
					<div class="description">
						Function called to load client info
Until the contents are loaded, its just a "Loading" placeholder for each section
						
						
					</div>
					
					
					
						
						
						
						
						
						
						

					<hr />
				
					<a name=".setupInfoboxSuggestions"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>setupInfoboxSuggestions</b>(dialogs)
					
					</div>
					<div class="description">
						Produce HTML for the infobox suggestions dialog.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>dialogs</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name=".setupLinkSuggestions"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>setupLinkSuggestions</b>(dialogs)
					
					</div>
					<div class="description">
						Produce HTML for the link suggestions dialog.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>dialogs</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name=".showHideExtra"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>showHideExtra</b>()
					
					</div>
					<div class="description">
						Show/hide the extra fields in the dialog box
						
						
					</div>
					
					
					
						
						
						
						
						
						
						

					<hr />
				
					<a name=".toDialog"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{Object}</span>
					<span class="light">SztakipediaTB.</span><b>toDialog</b>(tem)
					
					</div>
					<div class="description">
						Create a WikiEditor dialog from a <a href="../symbols/sztakipediaTemplate.html">sztakipediaTemplate</a> object.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Object}</span> <b>tem</b>
									
								</dt>
								<dd>The <a href="../symbols/sztakipediaTemplate.html">sztakipediaTemplate</a> object to create a dialog for.</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Object}</span> A WikiEditor-style dialog descriptor.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".updateRemoteContent"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">SztakipediaTB.</span><b>updateRemoteContent</b>(callback)
					
					</div>
					<div class="description">
						Send the text field contents to the API for analysis.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{function()}</span> <b>callback</b>
									
								</dt>
								<dd>The function to be called on completion.</dd>
							
							</dl>
						
						
						
						
						
						
						

					
				
			
			
<!-- ============================== event details ========================= -->		
			
			
			<hr />
		</div>

		
<!-- ============================== footer ================================= -->
		<div class="fineprint" style="clear:both">
			&copy; 2011 - MTA SZTAKI <br />
			Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0
		</div>
	</body>
</html>
